package com.t.bricks.bussiness.db.entity.printtrack.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 追踪码打印信息'PrintTrack'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 */
@ApiModel("追踪码打印信息PrintTrack")
public class PrintTrackBase implements Serializable {

	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 表编号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="PrintTrack", sName="iId", sComment="表编号", isDbField=true, sDbFileType="int",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="表编号", example="")
	//[end]
	protected Integer iId;

	/**
	 * 申请人编号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="PrintTrack", sName="sApplicant", sComment="申请人编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="申请人编号", example="")
	//[end]
	protected String sApplicant;

	/**
	 * 申请人姓名
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="PrintTrack", sName="sApplicantName", sComment="申请人姓名", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="申请人姓名", example="")
	//[end]
	protected String sApplicantName;

	/**
	 * 申请时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="PrintTrack", sName="dApplyTime", sComment="申请时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=3 )
	@ApiModelProperty(value="申请时间", example="")
	//[end]
	protected Date dApplyTime;

	/**
	 * 追踪码
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="PrintTrack", sName="sTrackNo", sComment="追踪码", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="追踪码", example="")
	//[end]
	protected String sTrackNo;

	/**
	 * 追踪状态
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="PrintTrack", sName="iTrackState", sComment="追踪状态", isDbField=true, sDbFileType="int",
		sDefaultData="0", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=5 )
	@ApiModelProperty(value="追踪状态", example="0")
	//[end]
	protected Integer iTrackState;

	/**
	 * 打印状态
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="PrintTrack", sName="iPrintState", sComment="打印状态", isDbField=true, sDbFileType="int",
		sDefaultData="0", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=6 )
	@ApiModelProperty(value="打印状态", example="0")
	//[end]
	protected Integer iPrintState;

	/**
	 * 完成时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="PrintTrack", sName="dPrintTime", sComment="完成时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=7 )
	@ApiModelProperty(value="完成时间", example="")
	//[end]
	protected Date dPrintTime;

	/**
	 * 申请人IP
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="PrintTrack", sName="sApplicantIP", sComment="申请人IP", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=16, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=8 )
	@ApiModelProperty(value="申请人IP", example="")
	//[end]
	protected String sApplicantIP;

	/**
	 * 取 表编号
	 * @return Integer
	 */
	public Integer getiId() {
		return iId;
	}

	/**
	 * 设置表编号
	 * @param iId
	 */
	public void setiId(Integer iId) {
		this.iId = iId;
	}

	/**
	 * 取 申请人编号
	 * @return String
	 */
	public String getsApplicant() {
		return sApplicant;
	}

	/**
	 * 设置申请人编号
	 * @param sApplicant
	 */
	public void setsApplicant(String sApplicant) {
		this.sApplicant = sApplicant;
	}

	/**
	 * 取 申请人姓名
	 * @return String
	 */
	public String getsApplicantName() {
		return sApplicantName;
	}

	/**
	 * 设置申请人姓名
	 * @param sApplicantName
	 */
	public void setsApplicantName(String sApplicantName) {
		this.sApplicantName = sApplicantName;
	}

	/**
	 * 取 申请时间
	 * @return Date
	 */
	public Date getdApplyTime() {
		return dApplyTime;
	}

	/**
	 * 设置申请时间
	 * @param dApplyTime
	 */
	public void setdApplyTime(Date dApplyTime) {
		this.dApplyTime = dApplyTime;
	}

	/**
	 * 取 追踪码
	 * @return String
	 */
	public String getsTrackNo() {
		return sTrackNo;
	}

	/**
	 * 设置追踪码
	 * @param sTrackNo
	 */
	public void setsTrackNo(String sTrackNo) {
		this.sTrackNo = sTrackNo;
	}

	/**
	 * 取 追踪状态
	 * @return Integer
	 */
	public Integer getiTrackState() {
		return iTrackState;
	}

	/**
	 * 设置追踪状态
	 * @param iTrackState
	 */
	public void setiTrackState(Integer iTrackState) {
		this.iTrackState = iTrackState;
	}

	/**
	 * 取 打印状态
	 * @return Integer
	 */
	public Integer getiPrintState() {
		return iPrintState;
	}

	/**
	 * 设置打印状态
	 * @param iPrintState
	 */
	public void setiPrintState(Integer iPrintState) {
		this.iPrintState = iPrintState;
	}

	/**
	 * 取 完成时间
	 * @return Date
	 */
	public Date getdPrintTime() {
		return dPrintTime;
	}

	/**
	 * 设置完成时间
	 * @param dPrintTime
	 */
	public void setdPrintTime(Date dPrintTime) {
		this.dPrintTime = dPrintTime;
	}

	/**
	 * 取 申请人IP
	 * @return String
	 */
	public String getsApplicantIP() {
		return sApplicantIP;
	}

	/**
	 * 设置申请人IP
	 * @param sApplicantIP
	 */
	public void setsApplicantIP(String sApplicantIP) {
		this.sApplicantIP = sApplicantIP;
	}

}
